home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Openstep 4.2 (Developer)
/
Openstep Developer 4.2.iso
/
NextDeveloper
/
Source
/
GNU
/
uucp
/
Uucp.framework
/
unix.subproj
/
exists.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-10-09
|
232 b
|
17 lines
/* exists.c
Check whether a file exists. */
#include "uucp.h"
#include "sysdep.h"
#include "system.h"
boolean
fsysdep_file_exists (zfile)
const char *zfile;
{
struct stat s;
return stat ((char *) zfile, &s) == 0;
}